﻿<!DOCTYPE html >
<html>

	<head>
		<meta name="Generator" content="TPshop1.2" />
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width">
		<title>找回密码</title>
		<meta http-equiv="keywords" content="找回密码{$web_name}" />
		<meta name="description" content="找回密码{$web_name}" />

		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
		<link rel="stylesheet" type="text/css" href="/themes/wnsc_moblie/newMobile/User/login/css/public.css" />
		<link rel="stylesheet" type="text/css" href="/themes/wnsc_moblie/newMobile/User/login/css/login.css" />
		<link rel="stylesheet" type="text/css" href="/themes/wnsc_moblie/Public/css/forget_pass.css" />
		<script type="text/javascript" src="/themes/wnsc_moblie/newMobile/User/login/js/jquery.js"></script>
		<script src="/themes/wnsc_moblie/newMobile/User/login/js/global.js"></script>
		<script src="/themes/wnsc_moblie/newMobile/User/login/js/mobile_common.js"></script>
		<script type="text/javascript" src="/themes/wnsc_moblie/newMobile/User/login/js/mobile/layer.js"></script>

	</head>

	<body>
	<?php
				$agent = $_SERVER['HTTP_USER_AGENT'];
				if(strpos($agent,"Html5Plus") === false){
			?>
		<header id="header" class='header'>
			<div class="h-left">
				<a href="javascript:history.back(-1)" class="sb-back"></a>
			</div>
			<div class="h-mid">找回密码 </div>
		</header>
	<?php
			}
			?>
		<div class="middle-content">
			<php>$step=$_GET['step']?$_GET['step']:1;</php>
			<eq name="step" value="1">
				<!--第一步start-->
				<form id="AccountModel" class="form-horizontal" name="AccountModel" method="post" novalidate="novalidate">
					<div class="form-group form-group-spe">
						<dl>
							<dt><span>账户名：</span></dt>
							<dd>
								<div class="form-control-box">

									<input type="text" id="accountmodel-username" class="form-control valid" name="AccountModel[username]" placeholder="已验证手机" aria-required="true" aria-invalid="false">

									<span class="num-clear"><i class="iconfont">x</i></span>
								</div>

								<span id="accountmodel-username-error" data-error-id="accountmodel-username-error" class="form-control-error" style="display: none;"></span>

							</dd>
						</dl>
					</div>
					<div class="invalid"></div>

					<div class="submit-btn">
						<!--通过disable控制按钮变灰-->
						<a class="btn-submit disable" id="btn_submit">下一步</a>
					</div>

				</form>
			</eq>
			<!--第一步end-->
			<eq name="step" value="2">
				<p class="page-notice">请填写手机验证码</p>
				<div class="form-group form-group-spe">
					<dl>
						<dt style="width: 100px;"><span>验证码：</span></dt>
						<dd>
							<div class="form-control-box">

								<input type="text" id="accountmodel-sms_captcha" class="input-small error">

								<a href="javascript:void(0);" class="phonecode" id="get_phonecode">获取验证码</a>

							</div>
							<span id="accountmodel-sms_captcha-error" class="form-control-error" style="display: none;"></span>

						</dd>
					</dl>
				</div>

				<div class="submit-btn">
					<a class="btn-submit disable" id="btn_submit2">下一步</a>
				</div>
				<!--<script type="text/javascript">
					$(function() {
						$.ajax({
							type: 'post',
							url: '/user/forget_pwd_moblie',
							data: {
								type: 1
							},
							dataType: 'json',
							success: function(res) {
								if(res.code == 0) {
									window.location = "/user/forget_pwd/step/1.html";
								}else{
									layer.open({
									    content: '短信发送成功！'
									    ,skin: 'msg'
									    ,time: 2 //2秒后自动关闭
									  });
								
								}

							},
							error: function(XMLHttpRequest, textStatus, errorThrown) {
								layer.open({
								    content: '网络失败，请刷新页面后重试'
								    ,skin: 'msg'
								    ,time: 2 //2秒后自动关闭
								});
							}
						})

					})
				</script>-->
			</eq>

			<eq name="step" value="3">
				<p class="page-notice">请设置新的登录密码</p>
				<div class="form-group form-group-spe">
					<dl>
						<dt><span>新密码：</span></dt>
						<dd>
							<div class="form-control-box">

								<input type="password" id="pwdInput" class="form-control error"  value="" >

							</div><span id="pwdInput-error" data-error-id="pwdInput-error" class="form-control-error"><i class="fa fa-warning"></i>请设置新密码</span>

						</dd>
					</dl>
				</div>
				<div class="submit-btn">
					<a class="btn-submit disable" id="btn_submit3">完成</a>
				</div>
			</eq>
		</div>
		<script src="/themes/wnsc_moblie/Public/js/forget_pass.js"></script>
	</body>

</html>